package com.douban.app.service;

import com.douban.app.model.Subject;

import java.util.List;

public interface SubjectService {
    Subject addSubject(Subject subject);

    Subject get(String subjectId);

    List<Subject> getSubjects(String type);

    List<Subject> getSubjects(String type,String subType);

    boolean delete(String subjectId);

    boolean modify(Subject subject);

    List<Subject> getSubjects(Subject subjectParam);
}
